<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #F8F9FA;
}
-->
</style>
<script type="text/javascript">
  function checkForm(){
    var F = document.form1;
    if( !F.class_name.value ){
      alert("请输入分类名称");
      return false;
    }
    F.submit();
  }
</script>
<link href="__PUBLIC__/Admin/Css/skin.css" rel="stylesheet" type="text/css" />
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" height="29" valign="top" background="__PUBLIC__/Admin/images/mail_leftbg.gif"><img src="__PUBLIC__/Admin/images/left-top-right.gif" width="17" height="29" /></td>
    <td width="100%s" height="29" valign="top" background="__PUBLIC__/Admin/images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">分类管理</div></td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="__PUBLIC__/Admin/images/mail_rightbg.gif"><img src="__PUBLIC__/Admin/images/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td height="71" valign="middle" background="__PUBLIC__/Admin/images/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9">
      <table width="100%" height="138" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="13" valign="top">&nbsp;</td>
        </tr>
        <tr>
          <td valign="top">
            <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td class="left_txt">当前位置：添加分类</td>
              </tr>
              <tr>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <td>
                  <table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="nowtable">
                    <tr>
                      <td class="left_bt2">&nbsp;&nbsp;&nbsp;&nbsp;分类设置</td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr>
                <td>
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    			        <form name="form1" method="POST" action="__URL__/classAdd">
                    <tr>
                      <td width="20%" height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">分类名称：</td>
                      <td width="3%" bgcolor="#f2f2f2">&nbsp;</td>
                      <td width="32%" height="30" bgcolor="#f2f2f2">
                        <input name="class_name" type="text" id="class_name" size="30" value="{$editInfo[0].class_name}"/>
                      </td>
                      <td width="45%" height="30" bgcolor="#f2f2f2" class="left_txt">分类名称</td>
                    </tr>
                    <tr>
                      <td width="20%" height="30" align="right" class="left_txt2">上级分类名称：</td>
                      <td width="3%">&nbsp;</td>
                      <td width="32%" height="30">
                        <select name="class_up_code">
                          <option value='0'>无</option>
                          <volist name="classInfo" id="vo">
                            <option value='{$vo.class_code}' <eq name="vo.class_code" value="$editInfo[0].class_up_code">selected</eq>>{$vo.class_name}</option>
                          </volist>
                        </select>
                      </td>
                      <td width="45%" height="30" class="left_txt">分类所属上级名称</td>
                    </tr>
                    <tr>
                      <td width="100%" height="30" align="center" colspan="4">&nbsp;</td>
                    </tr>
                    <tr>
                      <td width="100%" height="30" align="center" colspan="4">
                        <input type="hidden" value="{$editCode}" name="class_code">
                        <input type="submit" value="确 认" name="B1" onclick="checkForm();" />&nbsp;&nbsp;&nbsp;&nbsp;
                        <input type="reset" value="重 置" name="B12" />
                      </td>
                    </tr>
                  </form>
                  </table>
                </td>
              </tr>   
            </table>
          </td>
        </tr> 
      </table>
   </td>
    <td background="__PUBLIC__/Admin/images/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="middle" background="__PUBLIC__/Admin/images/mail_leftbg.gif"><img src="__PUBLIC__/Admin/images/buttom_left2.gif" width="17" height="17" /></td>
      <td height="17" valign="top" background="__PUBLIC__/Admin/images/buttom_bgs.gif"><img src="__PUBLIC__/Admin/images/buttom_bgs.gif" width="17" height="17" /></td>
    <td background="__PUBLIC__/Admin/images/mail_rightbg.gif"><img src="__PUBLIC__/Admin/images/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>

</body>
